<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>ESTCM001</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/style.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/atributos.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/botoes.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/antigo/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/antigo/css/bootstrap-theme.min.css">
<script src="${pageContext.request.contextPath}/resources/antigo/js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/resources/antigo/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/antigo/js/sispfuncoes.js"></script>
<script type="text/javascript">
	botoes = "1001000000";
</script>
</head>
<body onunload="">
	<form id="form" action="${estcm001.navegar}" method="post">
		<jsp:include page="/resources/antigo/include/header.jsp" />
		<div id="conteudo">
			<div class="content">
				<center>
					<div id="container" style="height: auto; width: 800px; float: inherit;">
						<div id="espaco" style="height: 75%; width: 100%; margin: 0 auto;">
							<br />
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">SESEC</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 540px; float: left">
									<label class="control-label"> - SECRETARIA DE ESTADO DA SEGURANCA CIDADA</label>
								</div>
								<div align="right" style="width: 100px; float: left">
									<input type="text" id="jversaoj" name="estcm001.jversaoj" readonly class="form-control input-cb" value="${versao}" maxlength="2" size="2" onkeypress="mascara(event,this,'9.9')" />
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">ICRIM</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 500px; float: left">
									<label class="control-label">- INSTITUTO DE IDENTIFICACAO CRIMINAL</label>
								</div>
								<div align="left" class="col-lg-1" style="width: 65px; float: left">
									<input type="text" id="operacao" onkeypress="return enviar(this, event)" style="text-transform: uppercase" name="estcm001.operacao" class="form-control input-cb" value="${estcm001.operacao}" maxlength="3" size="3" />
								</div>
								<div align="left" class="col-lg-2" style="width: 110px; float: left">
									<input type="text" id="dataCorrente" name="estcm001.dataCorrente" readonly class="form-control input-cb" value="${estcm001.dataCorrente}" maxlength="8" size="8" onkeypress="mascara(event,this,'99/99/9999')" />
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">SEATI</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 500px; float: left">
									<label class="control-label">- SECRETARIA ADJUNTA DE TECNOLOGIA DA INFORMACAO</label>
								</div>
								<div align="left" class="col-lg-1" style="width: 65px; float: left">
									<label class="control-label"> </label>
								</div>
								<div align="left" class="col-lg-2" style="width: 110px; float: left">
									<input type="text" id="horaCorrente" name="estcm001.horaCorrente" readonly class="form-control input-cb" value="${estcm001.horaCorrente}" maxlength="8" size="8" />
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-5" style="width: 440px; float: left">
									<label class="control-label">CONSULTA MOVIMENTACAO DA IDENTIFICACAO CRIMINAL:</label>
								</div>
								<div align="left" class="col-lg-2" style="width: 110px; float: left">
									<input type="text" id="dtini" name="estcm001.dtini" readonly class="form-control input-cb" value="${estcm001.dtini}" maxlength="8" size="8" onkeypress="mascara(event,this,'99/99/9999')" />
								</div>
								<div align="left" class="col-lg-5" style="width: 10px; float: left">
									<label class="control-label">A</label>
								</div>
								<div align="left" class="col-lg-2" style="width: 110px; float: left">
									<input type="text" id="dtfim" name="estcm001.dtfim" readonly class="form-control input-cb" value="${estcm001.dtfim}" maxlength="8" size="8" onkeypress="mascara(event,this,'99/99/9999')" />
								</div>
								<div align="left" class="col-lg-1" style="width: 50px; float: left">
									<label class="control-label"> </label>
								</div>
							</div>
							<label class="corpo_c">_________________________________________________________________________________________</label>
							<br />
							<br />
							<div class="row">
								<div align="center" class="col-lg-1" style="width: 05px; float: left; color: white">
									<label class="control-label" style="color: white">88</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 100px; float: left">
									<label class="control-label">MATRIC.</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<label class="control-label">INCLUSOES</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<label class="control-label">ALTERACOES</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<label class="control-label">CORRECOES</label>
								</div>
								<div align="center" class="col-lg-2" style="width: 90px; float: left">
									<label class="control-label">BAIXAS</label>
								</div>
								<div align="center" class="col-lg-2" style="width: 90px; float: left">
									<label class="control-label">IDENT.</label>
								</div>
								<div align="center" class="col-lg-2" style="width: 90px; float: left">
									<label class="control-label">PRONTUARIO</label>
								</div>
								<div align="center" class="col-lg-2" style="width: 90px; float: left">
									<label class="control-label">TOTAL</label>
								</div>
							</div>
							<c:forEach items="${estcm001.lista}" var="matriculas">
							<div class="row">
								<div align="center" class="col-lg-1" style="width: 05px; float: left; color: white">
									<label class="control-label" style="color: white">&nbsp;</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 100px; float: left">
									<input type="text" id="mat0[1]" onkeypress="return somenteNumero(event)" name="matriculas.matricula" readonly class="form-control input-cb" value="${matriculas.matricula}" maxlength="7" size="7" onkeypress="mascara(event,this,'ZZZZZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[1][1]" name="matriculas.inclusoes" readonly class="form-control input-cb" value="${matriculas.inclusoes}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[2][1]" name="matriculas.alteracoes" readonly class="form-control input-cb" value="${matriculas.alteracoes}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[3][1]" name="matriculas.correcoes" readonly class="form-control input-cb" value="${matriculas.correcoes}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[4][1]" name="matriculas.baixas" readonly class="form-control input-cb" value="${matriculas.baixas}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[5][1]" name="ematriculas.ident" readonly class="form-control input-cb" value="${matriculas.ident}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[6][1]" name="matriculas.prontuario" readonly class="form-control input-cb" value="${matriculas.prontuario}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tra0[7][1]" name="matriculas.total" readonly class="form-control input-cb" value="${matriculas.total}" maxlength="5" size="5" onkeypress="mascara(event,this,'ZZZ99')" />
								</div>
							</div>
							<br/>
							</c:forEach>
							<br />
							<div class="row">

								<div align="center" class="col-lg-1" style="width: 100px; float: left">
									<label class="control-label">TOTAIS:</label>
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[1]" name="estcm001.prodestcm001.inclusoes" readonly class="form-control input-cb" value="${estcm001.prodestcm001.inclusoes}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[2]" name="estcm001.prodestcm001.alteracoes" readonly class="form-control input-cb" value="${estcm001.prodestcm001.alteracoes}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[3]" name="estcm001.prodestcm001.correcoes" readonly class="form-control input-cb" value="${estcm001.prodestcm001.correcoes}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[4]" name="estcm001.prodestcm001.baixas" readonly class="form-control input-cb" value="${estcm001.prodestcm001.baixas}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[5]" name="estcm001.prodestcm001.ident" readonly class="form-control input-cb" value="${estcm001.prodestcm001.ident}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[6]" name="estcm001.prodestcm001.prontuario" readonly class="form-control input-cb" value="${estcm001.prodestcm001.prontuario}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
								<div align="center" class="col-lg-1" style="width: 90px; float: left">
									<input type="text" id="tot0[7]" name="estcm001.prodestcm001.total" readonly class="form-control input-cb" value="${estcm001.prodestcm001.total}" maxlength="6" size="6" onkeypress="mascara(event,this,'ZZZ.ZZ9')" />
								</div>
							</div>
							<br />
							<br />
							<label class="corpo_c">______________________________________________________________________________________________________________________________________</label>
								<div class="row">
									<div align="center" class="col-lg-1" style="width: 200px; float: left">
										<label class="control-label">ESC p/ Voltar</label>
									</div>
									<div align="center" class="col-lg-1" style="width: 430px; float: left">
										<label class="control-label">${empresa} - ${programa}</label>
									</div>
									<div align="center" class="col-lg-1" style="width: 200px; float: right">
										<label class="control-label">CTRL + Z p/ Sair</label>
									</div>
								</div>
							<br />
							<div class="row">
								<div class="col-lg-12">
									<input type="text" class="form-control input-df" id="mensagem" name="estcm001.mensagem" value="${ estcm001.mensagem }" maxlength="80" size="80" />
								</div>
							</div>
							<input type="hidden" id="funcao" name="estcm001.funcao" value="${ estcm001.funcao }" maxlength="1" size="1" />
							<input type="hidden" id="campofocus" name="estcm001.campofocus" value="${ estcm001.campofocus }" maxlength="30" size="30" />
							<input type="hidden" id="navegar" name="estcm001.navegar" value="${ estcm001.navegar }" />
							<br />
						</div>
					</div>
				</center>
			</div>
		</div>
		<jsp:include page="/resources/antigo/include/footer.jsp" />
	</form>
</body>
</html>
